package com.aaa.doctor.feign;

import com.aaa.entity.Dept;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @version 1.8.0_181
 * @Author ZXJ
 * @Date 2023/4/1 17:59
 * @注释
 */
@FeignClient(value = "his-open-system")
public interface DeptFeign {
    @GetMapping("/system/dept/getDeptById/{deptId}")
    public Dept getDeptById(@PathVariable Long deptId);
}
